package com.aaa.service;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface OrderService {
    List<Map<String, Object>> loadfind(String state, String ordernum, String rtid) throws ParseException;

    Integer changemoney(double money, Integer oid, Integer rid, Integer staff);

    //查询当前一周营业额
    List<Map> week();

    //查询上周营业额
    List<Map> lastweek();

    //查询本月营业额
    List<Map> month();

    /**
     * 查询某个时间段之间的数据
     * @param begin  开始日期
     * @param finish 结束日期
     * @return
     */
    List<Map> some(String begin, String finish);

    List<Map<String, Object>> finddate(Integer tid);

    Object checkmoney(String enddate, Integer rid) throws ParseException;

    Object checkinOrder(Integer staff, String orderNo, String name, String phone, String idcard, Integer rid, String money, String startdate, String enddate, String state);
}
